package com.gpframework.common.enums;

import lombok.Getter;

/**
 * @author BrinedFish
 * @create 2022-05-05 17:20
 */
@Getter
public enum UserSubscribeCourseEnum {
    /**
     * 课程评分默认值-1（没有评价）
     */
    DEFAULT_COURSE_SCORE("评价默认值", "-1"),

    /**
     * 销课方式:10手动销课、20自动销课
     */
    HAND_DESTROY_COURSE("手动销课", "10"),
    AUTO_DESTROY_COURSE("自动销课", "20"),
    FACE_DESTROY_COURSE("人脸销课", "30"),
    CODE_DESTROY_COURSE("二维码销课", "40"),
    SIGNATURE_DESTROY_COURSE("签名销课", "50"),
    RECEPTION_DESTROY_COURSE("智慧前台核销", "60"),

    /**
     * 自定销课时长
     */
    ZERO_HOUR("下课2小时后自动销课", "2"),
    NOW_HOUR("上课后销课", "0"),
    ONE_HOUR("24小时后销课", "24");


    /**
     * 业务名称
     */
    private String name;

    private String key;

    private UserSubscribeCourseEnum() {
    }

    private UserSubscribeCourseEnum(String name) {
        this.name = name;
    }

    UserSubscribeCourseEnum(String name, String key) {
        this.name = name;
        this.key = key;
    }

}
